//
//  GLNavigationController.m
//  GLSliderView
//
//  Created by 张国梁 on 15/11/28.
//  Copyright © 2015年 CoderGL. All rights reserved.
//

#import "GLNavigationController.h"
#import "GLNavigationBar.h"


@implementation GLNavigationController



+ (void)initialize {
    
    UINavigationBar *navBar = [UINavigationBar appearance];
    
    navBar.barTintColor = GLRandomColor;
    
    
}


- (void)viewDidLoad {
    [super viewDidLoad];
    
    // KVC 替换成自定义导航栏
    [self setValue:[GLNavigationBar new] forKeyPath:@"navigationBar"];
    
}

@end
